package com.qzw.security.api.event;

import com.qzw.security.api.model.Login;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;

/**
 * @author ：quziwei
 * @date ：Created in 2020/6/8 6:45 下午
 * @description：登录事件
 */
public class LoginEvent extends ApplicationEvent {

    public LoginEvent(Login source) {
        super(source);
    }

    @Override
    public Login getSource() {
        return (Login) super.getSource();
    }
}
